package com.maila.calltaxi.ui;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.TextView;

import com.maila.calltaxi.R;
import com.maila.calltaxi.utils.StartActivityUtils;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

/**
 * Created by Administrator on 2017/7/10.
 * 选择支付方式
 */

public class PayActivity extends AppCompatActivity {

    @BindView(R.id.tv_travle_time)
    TextView tvTime;
    @BindView(R.id.tv_licheng)
    TextView tvLicheng;
    @BindView(R.id.tv_fee)
    TextView tvFee;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.payactivity);
        ButterKnife.bind(this);
    }

    @OnClick({R.id.pay_by_zhifubao, R.id.pay_by_weixin, R.id.btn_pay_by_cash, R.id.tousu})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.pay_by_zhifubao:
                break;
            case R.id.pay_by_weixin:
                break;
            case R.id.btn_pay_by_cash:
                StartActivityUtils.start(this,PaySuccessActivity.class);
                finish();
                break;
            case R.id.tousu:
                break;
        }
    }
}
